package com.scalar.forecast.forecastSetup;

/**
 * User: Sujan Kumar
 * Date: Feb 8, 2005
 * Time: 6:52:37 PM
 */
public class ForecastTimeFrame
{
    private int rowId;
    private String tfName;
    private String tfCompany;
    private boolean tfSelect;
    private String tfMeasureType;
    /**
     * tfCycle, tfName both may represent the same values. But the functionality may differ.<br>
     * tfCycle is used to save the snap shot report data.<br>
     * tfCycle values represent : 'weekly', 'monthly', 'quarterly'
     */
    private String tfCycle;

    public int getRowId() {
        return rowId;
    }

    public void setRowId(int rowId) {
        this.rowId = rowId;
    }

    public String getTfCompany() {
        return tfCompany;
    }

    public void setTfCompany(String tfCompany) {
        this.tfCompany = ( tfCompany == null ? null : tfCompany.trim() );
    }

    public String getTfName() {
        return tfName;
    }

    public void setTfName(String tfName) {
        this.tfName = ( tfName == null ? null : tfName.trim() );
    }

    public boolean isTfSelect() {
        return tfSelect;
    }

    public void setTfSelect(boolean tfSelect) {
        this.tfSelect = tfSelect;
    }

    public String getTfMeasureType()
    {
        return tfMeasureType;
    }

    public void setTfMeasureType(String tfMeasureType)
    {
        this.tfMeasureType = ( tfMeasureType == null ? null : tfMeasureType.trim() );
    }

    /**
     *
     * @return the value for forcast cycle.
     */
    public String getTfCycle() {
        return tfCycle;
    }

    /**
     * tfCycle, tfName both may represent the same values. But the functionality may differ.<br>
     * tfCycle is used to save the snap shot report data.<br>
     * tfCycle values represent : 'weekly', 'monthly', 'quarterly'
     */
    public void setTfCycle(String tfCycle) {
        this.tfCycle = tfCycle;
    }
}
